﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Ajeelee.Core.Utils;
using FxhjpgWeb.Business;
using FxhjpgWeb.Model;
using FxhjpgWeb.WebSite.Code;

namespace FxhjpgWeb.WebSite.ylx
{
    public partial class about : PageBase
    {
        protected int id;
        protected string pname = "";
        protected LanMuInfo lanMuInfo;
        ILanMuInfoBusiness lanMuInfoBll = new LanMuInfoBusinessFactory().CreateLanMuInfoBusiness();

        protected void Page_Load(object sender, EventArgs e)
        {
            // 获取参数
            id = 26;// QueryParamInt32("id");

            if (id > 0)
            {
                try
                {
                    lanMuInfo = lanMuInfoBll.GetById(id);
                }
                catch (Exception ex)
                {
                    Function.WriteErrorLog(ex);
                }
            }
            if (lanMuInfo == null)
            {
                lanMuInfo = new LanMuInfo();
                Page_GoTo("404.aspx");
            }
        }
    }
}